package controllers

import (
	"gitee/com.xiaoxin/go-send/controllers/api"
	"gitee/com.xiaoxin/go-send/controllers/env"
	"gitee/com.xiaoxin/go-send/controllers/http"
	"github.com/gin-gonic/gin"
)

func RegisterRoute(engine *gin.Engine) {
	group := engine.Group("api")
	http.NewController().RegisterRoute(group)
	api.NewController().RegisterRoute(group)
	env.NewController().RegisterRoute(group)
}
